package cn.stylefeng.guns.modular.car.mapper;

import cn.stylefeng.guns.modular.car.pojo.response.CarResponse;
import cn.stylefeng.guns.modular.car.pojo.response.CountResponse;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import cn.stylefeng.guns.modular.car.entity.Car;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springframework.data.repository.query.Param;

import javax.naming.Name;
import java.util.List;

/**
 *  Mapper 接口
 *
 * @author xbz
 * @date 2023/04/07 14:21
 */
public interface CarMapper extends BaseMapper<Car> {

    List<CarResponse> selectPage(String name);

    List<CountResponse> count();

}